{namespace bu=TYPO3\CMS\Beuser\ViewHelpers}

<f:layout name="Default" />

<f:section name="Buttons">
</f:section>

<f:section name="Content">
	<h1><f:translate key="onlineUsers" /></h1>
	<div class="table-fit">
		<table class="table table-striped table-hover">
			<thead>
				<tr>
					<th></th>
					<th class="col-title"><f:translate key="userName" /> / <f:translate key="realName" /></th>
					<th><f:translate key="lastAccess" /></th>
					<th><f:translate key="ipAddress" /></th>
					<th class="col-control"></th>
				</tr>
			</thead>
			<tbody>
				<f:for each="{onlineUsersAndSessions}" as="onlineUser">
					<f:render partial="BackendUser/OnlineListRow" arguments="{onlineUser: onlineUser, dateFormat: dateFormat, timeFormat: timeFormat, currentSessionId: currentSessionId}" />
				</f:for>
			</tbody>
		</table>
	</div>
</f:section>
